# $Id$

class ProjectReportIssueGroup < ActiveRecord::Base
  unloadable

  belongs_to :project
  belongs_to :form, :class_name => "ProjectReportForm", :foreign_key => "project_report_form_id"
  belongs_to :query

  validates_uniqueness_of :query_id

  def issues(options={})
    return query.issues(options)
  end
  
end
